home *** CD-ROM | disk | FTP | other *** search
- Path: p114.ztm.euronet.nl!pooky
- From: pooky@euronet.nl
- Newsgroups: comp.lang.c++
- Subject: my problem: class decl. syntax error in turbo c++ 1.0 ???
- Date: Thu, 4 Jan 1996 14:55:36
- Organization: Euronet Internet
- Message-ID: <pooky.23.000EEDAD@euronet.nl>
- NNTP-Posting-Host: p114.ztm.euronet.nl
- X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]
-
- I'm using Borland Turbo C++ v1.00 on a 486dx2. Maybe the program is too old?
- Anyway I get the following error:
-
- class time {
- int hr;
- int min;
- int sec;
- };
-
- ... generates a 'declaration syntax error', but
-
- struct time {
- int hr;
- int min;
- int sec;
- };
-
- ... runs correctly.
-
- Does anyone know what could be the problem? Please react!
- I suppose the problem is not in this code. Maybe I should I should
- include some extra directories in my path?
-
- Thanks for reading,
- Remko.
-
-